Skip to content

chore: check the harness against v8 references - #40

Merged
mikejgray merged 1 commit into
mainfrom
chore/harness-v8-references
Nov 27, 2026
Merged

mikejgray merged 1 commit into
mainfrom
chore/harness-v8-references

Conversation

@mikejgray

Copy link
Copy Markdown
Contributor

Follow-up to #38: scripts/check_harness.py could not complete after the gate landed. Gated rows reached the LLM stage, and the harness cache had no answers for them.

Summary

  • The harness now checks against v8 references: v7 plus the classifier's required slot unfilled gate. intent-eval writes them from its own implementation of the rule, with the packaged gate pinned off. Its base reproduces v7 exactly.
  • The harness LLM cache now has the answers for the gated rows (23 entries).

Test plan

  • Red: on 1.1.3, the v7 check reports 10 mismatches in 6 of the 8 files, all on gated rows (4 distinct utterances). rc=1.
  • Green: the v8 check is identical in all 8 files (dev 246/246, test 276/276, both devices, both route policies). rc=0.
  • Control: with the packaged gate disabled (ClassifierStage._slot_unfilled → False), the v8 check goes red again on the same rows. So v8 pins the gate.

Harness numbers for #38

Active route, 14B. Paired against the base:

magic own device FA high-risk wrong
Mac dev / test 99.0 = / 100 = 86.2 = / 87.3 = 15.2 → 12.1 / 12.5 → 10.0 0 / 0
Hub dev / test 92.2 = / 98.1 = 81.7 = / 84.4 = 24.2 → 21.2 / 12.5 = 0 / 0

On own-device rows, no row changes either way (p = 1). One non-real dev row regresses on the Hub.

🤖 Generated with Claude Code

https://claude.ai/code/session_012QBrfKWBcxKVm7QkBcH3P2

v8 = v7 + the classifier's required-slot-unfilled gate (#38), written by
intent-eval's own implementation of the rule (intent-eval f631dad).
On 1.1.3: v7 gives 10 mismatches in 6 of 8 files (4 utterances, all
gated rows), v8 is identical in all 8 files, and v8 goes red again with
the gate disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012QBrfKWBcxKVm7QkBcH3P2
@mikejgray
mikejgray merged commit 865e082 into main Nov 27, 2026
4 checks passed
@mikejgray
mikejgray deleted the chore/harness-v8-references branch November 27, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant